﻿<%@ Page Title="LQS - Checkout" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Checkout.aspx.cs" Inherits="University.Workshop.WebApp.Checkout" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <center>
    <asp:Label ID="lErrorMsg" runat=server Visible=False ForeColor="Red"></asp:Label>
<asp:GridView ID="Products" runat="server" AutoGenerateColumns="false"
        CellPadding="2" CellSpacing="4" AllowPaging="True">
        <Columns>          
            <asp:BoundField DataField="Name" HeaderText="Product Name" />
            <asp:BoundField DataField="Quantity" HeaderText="Amount" />
            <asp:BoundField DataField="Price" HeaderText="Price (USD)" />
        </Columns>    
        <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <br />
    <asp:GridView ID="Taxes" runat="server" AutoGenerateColumns="false" 
        CellPadding="2" CellSpacing="4" AllowPaging="False">
        <Columns>          
            <asp:BoundField DataField="Description" HeaderText="Description" />
            <asp:BoundField DataField="Price" HeaderText="Price (USD)" />
        </Columns>    
        <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <br />
    <br />
    <center>
    <asp:Label ID="lPwd" runat=server Text="Please enter your password to continue: "></asp:Label>
    <asp:TextBox ID="xPassword" runat=server TextMode=Password></asp:TextBox>
    <br />
    <br />
    <asp:ImageButton ID="bCheckout" runat="server" OnClick="PaypalCheckout" ImageUrl="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" />
    </center>
</center>
</asp:Content>
